package com.twl.app.base.entity;

import java.io.Serializable;
import java.math.BigDecimal; 

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table; 

import com.twl.common.entity.Customer;
/**
 * 派遣员工管理费
 * @author uatzhangxc
 *
 */
@SuppressWarnings("serial")
@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
@Table(name = "Dispatchmanger")
@SequenceGenerator(name = "instance_sequence", sequenceName = "seq_dispatchmanger_id", allocationSize = 1)
public class Dispatchmanger extends Customer implements Serializable{
	private String becomany; //员工所属公司
	private BigDecimal cardinaldou;	//基数
	private String amountdou;	//管理费
	private String datemoney;  //日期
	private String desKey;// 密钥
	@Column(name = "Des_Key" )
	public String getDesKey() {
		return desKey;
	}

	public void setDesKey(String desKey) {
		this.desKey = desKey;
	}
 
	public Dispatchmanger() {
		super();
		// TODO Auto-generated constructor stub
	}

	

	public Dispatchmanger(String becomany, BigDecimal cardinaldou,
			String amountdou, String datemoney, String desKey) {
		super();
		this.becomany = becomany;
		this.cardinaldou = cardinaldou;
		this.amountdou = amountdou;
		this.datemoney = datemoney;
		this.desKey = desKey;
	}

	@Column(name = "becomany")
	public String getBecomany() {
		return becomany;
	}

	public void setBecomany(String becomany) {
		this.becomany = becomany;
	}

	@Column(name = "cardinaldou")
	public BigDecimal getCardinaldou() {
		return cardinaldou;
	}

	public void setCardinaldou(BigDecimal cardinaldou) {
		this.cardinaldou = cardinaldou;
	}

	@Column(name = "amountdou")
	public String getAmountdou() {
		return amountdou;
	}

	public void setAmountdou(String amountdou) {
		this.amountdou = amountdou;
	}

	@Column(name = "datemoney")
	public String getDatemoney() {
		return datemoney;
	}

	public void setDatemoney(String datemoney) {
		this.datemoney = datemoney;
	}

}
